Using Logic for Querying XML Data
نویسندگان
چکیده
Copyright © 2003, Idea Group Inc. ABSTRACT In this chapter, we propose the use of first-order logic, in the form of deductive database rules, as a query language for XML data, and we present X-DEVICE, an extension of the deductive object-oriented database system DEVICE, for storing and querying XML data. XML documents are stored into the OODB by automatically mapping the DTD to an object schema. XML elements are treated either as classes or attributes based on their complexity, without loosing the relative order of elements in the original document. Furthermore, this chapter describes the extension of the system’s deductive rule query language with second-order variables, general path and ordering expressions, for querying over the stored, tree-structured XML data and constructing XML documents as a result. The extensions were implemented by translating all the extended features into the basic, first-order deductive rule language of DEVICE using meta-data about stored XML objects.
منابع مشابه
XML Querying Using Ontological Information
The paper addresses the problem of using semantic annotations in XML documents for better querying XML data. We assume that the annotations refer to an ontology defined in OWL (Web Ontology Language). The intention is then to combine syntactic querying techniques on XML documents with OWL ontology reasoning to filter out semantically irrelevant answers. The solution presented in this paper is a...
متن کاملXPath-Logic and XPathLog: a logic-programming-style XML data manipulation language
We define XPathLog as a Datalog-style extension of XPath. XPathLog provides a clear, declarative language for querying and manipulating XML whose perspectives are especially in XML data integration. In our characterization, the formal semantics is defined wrt. an edge-labeled graph-based model which covers the XML data model. We give a complete, logic-based characterization of XML data and the ...
متن کاملIntelligent Querying of Web Documents Using a Deductive XML Repository
In this paper, we present a deductive object-oriented database system, called X-DEVICE, WHICH is used as a repository for XML documents. X-DEVICE employs a powerful rule-based query language for intelligently querying stored Web documents and data and publishing the results. XML documents are stored into the OODB by automatically mapping the DTD to an object schema. XML elements are treated eit...
متن کاملRepresenting and Querying the Evolution of Databases and their Schemas in XML
We show that XML views combined with XML query languages can provide surprisingly effective solutions to the problem of representing and querying the evolution of databases—both the evolution of their contents and the evolution of their schemas. Indeed, using XML, the histories of database relations can be represented naturally by means of temporally grouped data models. We show that schema cha...
متن کاملPublishing and Querying the Histories of Archived Relational Databases in XML
There is much current interest in publishing and viewing databases as XML documents. The general benefits of this approach follow from the popularity of XML and the tool set available for visualizing and processing information encoded in this universal standard. In this paper, we explore the additional and unique benefits achieved by this approach on temporal database applications. We show that...
متن کامل